#ifndef __SPEED_H__
#define __SPEED_H__
#include <stdint.h>

#define SectorNum (6u)
#define PolePair  (2u)
#define SpeedCheckPeriod_sec  (1u)




typedef struct{
    double P;
    double I;
    double D;
}st_Motor_PIDParam;


extern void Set_Speed_Rpm(uint16_t speed);
extern uint16_t Get_Speed_Rpm(void);
extern uint16_t gu16_CalcSpeed_Rpm(uint16_t cnt);
extern void gv_SpeedPID_Task(void);
#endif